<!-- target:index -->
<div class="index-page-container grey-bg">
    <div class="white-bg statistics-container">
        <form name="indexStatisticsForm" class="statistics-header">
            <div class="left-wrap">
                <div class="city-select" ui="type:NS.VenueSelect;">
                    <span class="left-text">全国</span>
                    <span class="arrow-icon"></span>
                    <input name="venueId" class="ui-hide">
                    <input name="startDate" class="ui-hide">
                    <input name="endDate" class="ui-hide">
                </div>
            </div>
            <div class="title-wrap" ui="ext-link" href="#/home/period">周收入</div>
            <div class="right-wrap font-size0" ui="type:label;for:checkbox">
                <div ui="type:NS.HasDrink; subject: bill-work-all-checked;">
                    <input value="1" name="hasDrink" type="checkbox">
                </div>
                <span>含酒水</span>
            </div>
        </form>
        <div id="statistics_container" class="statistics-cont"></div>
    </div>

    <div class="index-page-cont">
        <div class="action-cont white-bg">
            <div class="enter-cont">
                <div class="enter-title">功能</div>
                <div class="enter-items">
                    <!-- <div class="enter-item" ui="ext-link" href="#/approval/approve~DENY_CACHE">
                        <div class="num">${approvalCounts.auditNum}</div>
                        <div class="label">待审批</div>
                    </div> -->
                    <div class="enter-item">
                        <div class="num">${approvalCounts.playNum}</div>
                        <div class="label">本月演出</div>
                    </div>
                    <div class="enter-item add-user" ui="ext-link" href="#/sponsor/edit~DENY_CACHE">
                        <div class="icon"></div>
                        <div class="label">新增用户</div>
                    </div>
                    <div class="enter-item bill-btn" ui="ext-link" href="#/finance/book.edit~DENY_CACHE">
                        <div class="icon"></div>
                        <div class="label">记费用</div>
                    </div>
                    <div class="enter-item venue-calendar-btn" ui="ext-link" href="#/venueOrder/calendar~DENY_CACHE">
                        <div class="icon"></div>
                        <div class="label">演出日历</div>
                    </div>
                </div>
                <div class="blank-line"></div>
                <div class="enter-items">
                    <div class="enter-item brand-calendar-btn">
                        <div class="icon"></div>
                        <div class="label">厂牌日历</div>
                    </div>
                    <div class="enter-item check-ticket" ui="ext-link" href="#/ticket/checkList~DENY_CACHE">
                        <div class="icon"></div>
                        <div class="label">开始验票</div>
                    </div>
                    <div class="enter-item verify-btn" ui="type:NS.VerifyBtn;">
                        <div class="icon"></div>
                        <div class="label">礼品核销</div>
                    </div>
                    <div class="enter-item">
                    </div>
                </div>
            </div>
        </div>

        <div id="todoCont" class="todo-cont"></div>
    </div>
</div>

<!-- target:todoCont -->
<div style="height: 1px"></div>
<!-- var:item = ${todoList.record.0} -->
<div class="to-do-cont white-bg" ui="type:NS.TodoCont;ext-link" href="#/approval/todo.quickList~DENY_CACHE">
    <div class="todo-title">待办<span class="num">={${todoList.total} > 99 ? ${todoList.total} + '+' : ${todoList.total}}</span><span class="link-icon"></span></div>

    <!-- if:${todoList.total} -->
        <!-- use:todoListItem(item=${todoList.record.0}) -->
    <!-- else -->
        <!-- use:list-empty -->
    <!-- /if -->
</div>
<div style="height: 1px"></div>


<!-- target:statistics -->
<div class="income">
    <div class="prev" ui="type:NS.Prev;={${mtype}?'':'disabled'}"></div>
    <div class="num"><span>${statistics.total}</span><span class="unit">万</span></div>
    <div class="next" ui="type:NS.Next;={${mtype}?'':'disabled'}"></div>
</div>
<div class="info">
    <div class="info-item total">
        <div class="num">${statistics.issueCount}张</div>
        <div class="label">总出票</div>
    </div>
    <div class="info-item times">
        <div class="num" num="43">${statistics.roundNum}</div>
        <div class="label">场次</div>
    </div>
    <div class="info-item price">
        <div class="num">${statistics.price}</div>
        <div class="label">平均票价</div>
    </div>
</div>

<!-- target:indexCities -->
<div ui="id:index-citis" id="index-city-select">
    <input name="region" ui="type:ecui.esr.CreateArray" >
    <ul class="city-wrap" ui="type:MPanel">
        <li ui="ext-anchor:*;disabled" class="anchor-index">*</li>
        <li class="ui-item" ui="type:NS.CityCheckbox;name:region;checked;id:indexCitydefault">
            全国
            <span class="icon"></span>
        </li>
        <!-- use: city_select_items(items=${indexCities}) -->
    </ul>
    <div class="btn-group">
        <!--if: ${homepage} -->
        <div class="left-label" ui="ext-data:cityChecked@()">='已选择:' + $</div>
        <!-- else -->
        <div class="reset-btn" ui="identity:sortreset;">重置</div>
        <!-- /if -->
        <div class="confirm-btn" ui="type:NS.CityComfirm">确定</div>
    </div>
</div>

<!-- target: city_select_items-->
<!-- for: ${items} as ${item} -->
    <li ui="ext-anchor:A;disabled" class="anchor-index">${item.spell}</li>
    <!-- for: ${item.citys} as ${_item} -->
    <li class="ui-item" ui="type:NS.CityCheckbox;text:${_item.cityName}">
        ${_item.cityName}
        <span class="icon"></span>
        <input name="region" value="${_item.cityCode}" type="checkbox" />
    </li>
    <!-- /for -->
<!-- /for -->

<!-- target: option-link -->
<div ui="type:NS.IndexOption;link:${item.link}" class="option-link">
    <img class="option-icon" src="${item.icon}">
    <div class="option-title">${item.title}</div>
</div>

<!-- target: homepageItem -->
<!-- use: auctionListItem(item=${item},model='index',isAuditVersion=${isAuditVersion}) -->